/*
 * @Description: 数据库配置
 * @Author: zheng yiliang
 * @Date: 2021-03-27 13:46:46
 * @LastEditTime: 2021-06-13 23:49:18
 * @LastEditors: zheng yiliang
 */
const MONGODB_CONF = {
  host: 'mongodb://root:zyl1315MC@zhengyiliang.cn:27017/blog_database?authSource=admin', // mongodb 地址
  // user: 'root', // mongodb 登录用户名
  // password: 'zyl1315MC', // mongodb 登录密码
}
// redis
const REDIS_CONF = {
  port: 6379,
  host: '127.0.0.1'
}

module.exports = { MONGODB_CONF, REDIS_CONF }